package com.example.turingim.handler;

import com.example.turingim.IMServer;
import com.example.turingim.common.ResponseResult;

import io.netty.channel.ChannelHandlerContext;

public class JoinGroupHandler {
    public static void execute(ChannelHandlerContext ctx) {
        IMServer.GROUP.add(ctx.channel());
        ctx.channel().writeAndFlush(ResponseResult.success("加入系统默认群聊成功"));
    }
}
